package com.example.gugongticket.dao;

import com.example.gugongticket.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserRepository extends JpaRepository<User, Integer> {
    List<User> findByUserId(int value);

    List<User> findByUsername(String value);

    List<User> findByEmail(String value);

    List<User> findByPhone(String value);
}